package com.gupaoedu.vip.pattern.adapter.demo.passport.adapterv2;

import com.gupaoedu.vip.pattern.adapter.demo.passport.ResultMsg;
import com.gupaoedu.vip.pattern.adapter.demo.passport.adapterv2.adapters.AbstraceAdapter;

public class AdapterBridge {
    private AbstraceAdapter abstraceAdapter;
    public AdapterBridge(AbstraceAdapter abstraceAdapter){
        this.abstraceAdapter=abstraceAdapter;
    }
    public ResultMsg login(String id) {
        return abstraceAdapter.login(id,abstraceAdapter);
    }
}
